# 去掉字符串中的数字后，大写输出
if __name__ == '__main__':
    ss = input("请输入字符串：")
    for i in ss: # 遍历字符串
        # 判断是否为数字
        if i.isdigit():
            continue
        else:
            print(i.upper(),end="")
    print(f"\n{'='*20}")

    for i in ss:
        # 判断是否为字母
        if i.isalpha():
            print(i.upper(),end="")
        else:
            continue
    print(f"\n{'=' * 20}")
    for i in ss:
        # 判断是否为字母
        if 'A'<=i<='Z' or 'a'<=i<='z':
            print(i.upper(), end="")
        else:
            continue